package com.video.video.domain;

import com.video.common.annotation.Excel;
import com.video.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * APP版本控制对象 d_edition
 *
 * @author ruoyi
 * @date 2023-03-20
 */
public class DEdition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** appId */
    private Long id;

    /** app类型(1 安卓 2 苹果) */
    @Excel(name = "app类型(Android 安卓 apple 苹果)")
    private String appType;

    /** app版本 */
    @Excel(name = "app版本")
    private String appEdition;

    /** app 下载链接 */
    @Excel(name = "app 下载链接")
    private String appUrl;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAppType(String appType)
    {
        this.appType = appType;
    }

    public String getAppType()
    {
        return appType;
    }
    public void setAppEdition(String appEdition)
    {
        this.appEdition = appEdition;
    }

    public String getAppEdition()
    {
        return appEdition;
    }
    public void setAppUrl(String appUrl)
    {
        this.appUrl = appUrl;
    }

    public String getAppUrl()
    {
        return appUrl;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appType", getAppType())
            .append("appEdition", getAppEdition())
            .append("appUrl", getAppUrl())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
